import request from "../../http";

export function getMyApplyPolicy() {
  return request({
    url: '/policy/apply/myApplyPolicy',
    method: 'GET'
  })
}

export function getMyApplyRedemptionPolicy() {
  return request({
    url: '/policy/apply/myApplyRedemptionPolicy',
    method: 'GET'
  })
}

export function getPolicyRedemption(id) {
  return request({
    url: `/policy/redemption/${id}`,
    method: 'GET'
  })
}

export function getPolicy(id) {
  return request({
    url: `/policy/policy/${id}`,
    method: 'GET'
  })
}
